package com.aurora.supermarket.splash;

import android.os.Bundle;
import android.support.annotation.Nullable;

import com.aurora.supermarket.R;
import com.aurora.supermarket.base.AppBaseActivity;
import com.aurora.supermarket.splash.presenter.LoginPresenter;
import com.aurora.supermarket.splash.view.LoginView;
import com.aurora.supermarket.util.AppPreference;

import butterknife.ButterKnife;

/**
 * Created by Administrator on 2018/3/23.
 */

public class LoginActivity extends AppBaseActivity<LoginPresenter> implements LoginView {



    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_login);
        ButterKnife.bind(this);
        initToolbar(false,"",false);
        AppPreference.getAppPreference().putBoolean(AppPreference.IS_FIRST_LAUNCH,false);
    }

    @Override
    public LoginPresenter attach() {
        return new LoginPresenter(this);
    }


}
